package com.xinqi.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xinqi.bean.GoodsOrder;
import com.xinqi.common.R;

/**
 * @author xin麒
 * @date 2023/2/21 11:02
 */
public interface GoodsOrderService extends IService<GoodsOrder> {
    R buyOneGoods(Long goodsId, Long userId);

    R createGoodsOrder(Long goodsId, Long userId);
}
